output "k8s_cluster_id" {
  description = "ID of the created Kubernetes cluster"
  value       = alicloud_cs_managed_kubernetes.fungo_cluster.id
}

output "k8s_cluster_name" {
  description = "Name of the created Kubernetes cluster"
  value       = alicloud_cs_managed_kubernetes.fungo_cluster.name
}

output "k8s_kube_config" {
  description = "KUBECONFIG to access the cluster"
  value       = alicloud_cs_managed_kubernetes.fungo_cluster.kube_config
  sensitive   = true
}

output "order_mysql_connection_string" {
  description = "Connection string for the order service MySQL database"
  value       = alicloud_db_instance.order_mysql.connection_string
}

output "user_redis_connection_string" {
  description = "Connection string for the user service Redis database"
  value       = alicloud_kvstore_instance.user_redis.connection_string
}

output "container_registry_url" {
  description = "URL of the container registry"
  value       = "registry.cn-beijing.aliyuncs.com/fungo"
} 